package net.tensor.tensor.client.server.dao;

import net.tensor.tensor.client.server.domain.ClientUser;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author Q
 */
public interface ClientUserRepositories extends JpaRepository<ClientUser, Long> {
    /**
     * 获取用户详情
     * @param username
     * @return
     */
    ClientUser findOneByUsername(String username);
}
